package pkg;

import javax.servlet.http.*;
import org.apache.struts.action.*;

public class SubmitAction extends Action {

	@Override
	public ActionForward execute(ActionMapping mapping, ActionForm form,
			HttpServletRequest request, HttpServletResponse response)
			throws Exception {


		CustomerDetailsAction.tx.commit();
		CustomerDetailsAction.session.close();
		
		System.out.println("commited");

		return mapping.findForward("Home");

	}
}